package com.liu.goods.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liu.goods.entity.GoodsEntity;
import com.liu.goods.vo.GoodsAddVo;
import com.liu.shop.common.vo.GoodsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lls
 * @email 302140431@qq.com
 * @date 2021-08-03 16:30:12
 */
@Mapper
public interface GoodsDao extends BaseMapper<GoodsEntity> {

    /**
     * 自定义查询
     * @param id
     * @return
     */
    GoodsVo getGoodsVoById(Integer id);

    List<GoodsAddVo> getGoodsVoList();
}
